#ifndef physicsManager_h
#define physicsManager_h
#include "MovableObject.h"

class PhysicsManager
{
public:
	PhysicsManager(){}
	~PhysicsManager(){}
	/*
	static void SimulatePosition(MovableObject *obj, float deltaTime)
	{
		//obj -> GetPosition().x += obj -> GetVectology().x * deltaTime;
		//obj -> _position.x += obj -> GetVectology().x * deltaTime;
		obj -> _position.x += obj -> _vx * deltaTime;
	}
	static void SimulatePositionX(MovableObject *obj, float posAdd)
	{
		obj -> _position.x += posAdd;
	}

	static void SimulatePositionY(MovableObject *obj, float posAdd)
	{
		obj -> _position.y += posAdd;
	}

	static void SetVx(MovableObject *obj, float value)
	{
		obj -> _vx = value;
		obj -> _vectology.x = value;
	}

	static void SetVy(MovableObject *obj, float value)
	{
		obj -> _vy = value;
		obj -> _vectology.y = value;
	}

	static void SimulateVectology(MovableObject *obj, float value)
	{
		//obj -> GetPosition().x += obj -> GetVectology().x * deltaTime;
		obj -> _vectology.x += value;
		obj -> _vectology.y += value;
	}

	static D3DXVECTOR2 GetNextVectology(MovableObject *obj)
	{
		return D3DXVECTOR2(obj->_vx * obj->DeltaTime, obj->_vy*obj->DeltaTime);
	}*/
};

#endif